﻿using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Core.WorkFlows.Process.Entities
{
    public class WorkFlowProcessMsg : Entity<long>
    {
        public Guid PaperId { get; set; }

        public Guid TaskId { get; set; }


        [StringLength(WorkFlowProcess.MaxReplyLength)]
        public string Reply { get; set; }

        /// <summary>
        /// 最后一次回应时间
        /// </summary>
        public DateTime ReplyTime { get; set; }

        [MaxLength(64)]
        public string UserName { get; set; }

        public bool IsHiddenInTable { get; set; }
    }
}
